package com.one.service;

import com.one.pojo.OneUser;
import com.one.pojo.UserTrasRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description
 * @Author semstouch
 * @Date 2017/4/7
 **/
@Service
public interface UserTrasRecordService {
    List<UserTrasRecord> findByPage(String senderId, String receiveId, int numPerPage, int currentPage);

    int countNum(String senderId, String receiveId);

    boolean sendConfirm(UserTrasRecord userTrasRecord);

    boolean receiveConfirm(UserTrasRecord userTrasRecord);

    String add(UserTrasRecord userTrasRecord);

    UserTrasRecord findById(String id);

    List<UserTrasRecord> selectPageList(int offset, int pageSize,UserTrasRecord e);

    int selectPageCount(UserTrasRecord e);
}
